using System;
using System.Collections.Generic;
using System.Text;
using DataAccess;
using Globals;
using System.Web.UI.WebControls;
using System.IO;

namespace Presentation.Contracts
{
    public interface IUserLogInGalleryView
    {
        int GalleryId
        {
            get;
        }

        int UserId
        {
            get;
        }
        
        void DisplayError(string error);

        void DisplayGalleria(gallery galleryTmp);

        void DisplayArtTypes(List<art_type> artTypes);

        string Tytul
        {
            get;
        }

        ContentNamesGlobals.ArtType Typ
        {
            get;
        }

        string Text
        {
            get;
        }

        string Description
        {
            get;
        }

        string Tag
        {
            get;
            set;
        }

        bool getPhoto(out string name, out Stream stream);

        bool getBinary(out string name, out Stream stream);

        void SavePhotoAs(string newFileName);

        void SaveBinaryAs(string newFileName);

        void DisplayAddPhotoError(string error);

        void DisplayAddBinaryError(string error);

        void CleanAddArtErrors();

        void AddTagToSession(string tagName);

        void DeleteTagFromSession(string tagName);

        void CleanSessionFromTags();

        List<string> GetTagsFromSession();

        void DisplayTags();

        void DisplayAllTags(List<tag> tags);

        void SavaImageAs(System.Drawing.Image image, string pathToFotoMini);
    }
}
